import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'shengChanJianShi-'

export default {
  path: '/shengChanJianShi',
  name: 'shengChanJianShi',
  redirect: {
    name: `${pre}zhuangTaiZongLan`
    // name: `${pre}opensituation`
  },
  meta: { ...meta, title: '设备监控' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'zhuangTaiZongLan',
      name: '110100',
      meta: {
        ...meta,
        title: '车间状态'
      }
      // component: () => import('@/pages/shengChanJianShi/zhuangTaiZongLan')
    },
    {
      path: 'zhiJiGongXu',
      name: '111100',
      meta: {
        ...meta,
        title: '织机工序'
      }
      // component: () => import('@/pages/shengChanJianShi/zhiJiGongXu')
    },
    {
      path: 'xiShaGongXu',
      name: '110300',
      meta: {
        ...meta,
        title: '细纱工序'
      }
      // component: () => import('@/pages/shengChanJianShi/xiShaGongXu')
    },
    {
      path: 'cuXiLianGongXu',
      name: '111300',
      meta: {
        ...meta,
        title: '粗细联工序'
      }
      // component: () => import('@/pages/shengChanJianShi/cuXiLianGongXu')
    },
    {
      path: 'cuShaGongXu',
      name: '110400',
      meta: {
        ...meta,
        title: '粗纱工序'
      }
      // component: () => import('@/pages/shengChanJianShi/cuShaGongXu')
    },
    {
      path: 'moBingGongXu',
      name: '110500',
      meta: {
        ...meta,
        title: '末并工序'
      }
      // component: () => import('@/pages/shengChanJianShi/moBingGongXu')
    },
    {
      path: 'jingShuGongXu',
      name: '110600',
      meta: {
        ...meta,
        title: '精梳工序'
      }
      // component: () => import('@/pages/shengChanJianShi/jingShuGongXu')
    },
    {
      path: 'tiaoJuanGongXu',
      name: '110700',
      meta: {
        ...meta,
        title: '条卷工序'
      }
      // component: () => import('@/pages/shengChanJianShi/tiaoJuanGongXu')
    },
    {
      path: 'erBingGongXu',
      name: '111200',
      meta: {
        ...meta,
        title: '二并工序'
      }
      // component: () => import('@/pages/shengChanJianShi/erBingGongXu')
    },
    {
      path: 'yuBingGongXu',
      name: '110800',
      meta: {
        ...meta,
        title: '预并工序'
      }
      // component: () => import('@/pages/shengChanJianShi/yuBingGongXu')
    },
    {
      path: 'shuMianGongXu',
      name: '110900',
      meta: {
        ...meta,
        title: '梳棉工序'
      }
      // component: () => import('@/pages/shengChanJianShi/shuMianGongXu')
    },
    {
      path: 'qingHuaGongXu',
      name: '111000',
      meta: {
        ...meta,
        title: '清花工序'
      }
      // component: () => import('@/pages/shengChanJianShi/qingHuaGongXu')
    },
    {
      path: 'luoTongGongXu',
      name: '110200',
      meta: {
        ...meta,
        title: '络筒工序'
      }
      // component: () => import('@/pages/shengChanJianShi/luoTongGongXu')
    },
    {
      path: 'luoTongGongXu',
      name: '110200',
      meta: {
        ...meta,
        title: '络筒工序'
      }
      // component: () => import('@/pages/shengChanJianShi/luoTongGongXu')
    },
    {
      path: 'beiNianGongXu',
      name: '111700',
      meta: {
        ...meta,
        title: '倍捻工序'
      }
      // component: () => import('@/pages/shengChanJianShi/beiNianGongXu')
    },
    {
      path: 'lvChengSheBei',
      name: '111500',
      meta: {
        ...meta,
        title: '滤尘设备'
      }
      // component: () => import('@/pages/shengChanJianShi/lvChengSheBei')
    },
    {
      path: 'jiZhongHuiShou',
      name: '111400',
      meta: {
        ...meta,
        title: '集中回收装置'
      }
      // component: () => import('@/pages/shengChanJianShi/jiZhongHuiShou')
    },
    {
      path: 'zhiHuiXiaoFang',
      name: '111900',
      meta: {
        ...meta,
        title: '智慧消防'
      }
      // component: () => import('@/pages/shengChanJianShi/zhiHuiXiaoFang')
    },
    {
      path: 'qiLiuFangGongXu',
      name: '111600',
      meta: {
        ...meta,
        title: '气流纺工序'
      }
      // component: () => import('@/pages/shengChanJianShi/qiLiuFangGongXu')
    }
  ]
} as AppRouteRecord
